<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.center.profile.actions.override">

  <require>org.nuxeo.ecm.user.center.profile.actions</require>

  <extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action icon="/icons/profile.png" id="Profile" label="user.center.profile" link="/user_center_fragment.xhtml" order="20">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_transient_user</filter-id>
    </action>

    <action id="ProfileView" label="user.center.profile.tab.view" link="/incl/userprofile/user_profile.xhtml" order="10">
      <category>Profile_sub_tab</category>
    </action>

    <action icon="/icons/preferences.png" id="Preferences" label="user.center.preferences" link="/user_center_fragment.xhtml" order="30">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_transient_user</filter-id>
    </action>

    <action id="PreferencesView" label="user.center.preferences.tab.view" link="/incl/userprofile/user_preferences.xhtml" order="20">
      <category>Preferences_sub_tab</category>
    </action>

    <action enabled="true" id="PreferencesAction" label="user.center.preferences" link="#{userPreferencesActions.navigateToPreferencesPage}" order="70">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>not_transient_user</filter-id>
    </action>


  </extension>

</component>
